<template>
  <view>
    <web-view :src="url"></web-view>
  </view>
</template>
<script>
export default {
  name: "index",
  data(){
    return{
      url:"https://mp.weixin.qq.com/s/K2A94f2OFHSnb9bf_BhUKQ"
    }
  },
  onLoad(options){
    let data = JSON.parse(options.data)
    this.url = data.url
    console.log("传递了",options)
  }
}
</script>

<style scoped lang="scss">

</style>
